package com.dzl.timer;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Service;

/**
 * 定时任务类
 * @author caobucao
 * @date 2021/5/26 15:32
 */
@Slf4j
//@Component
@EnableScheduling   // 1.开启定时任务
@EnableAsync        // 2.开启多线程
@Service
public class TimerTask {



}
